// 导入axios创建的实例对象request
import request from '@/utils/request.js'

// 创建goodsListAPI接口并抛出共享
export const goodsListAPI = (keyword, page, size, order, categoryId, sort) => {
  return request.get('/goods/list', {
    params: { keyword, page, size, order, categoryId, sort }
  })
}
